Skip to content

Soft delete of multiple records

Request

The API performs a soft deletion of the given list of records. Required roles: 'users.datalake.editors' or 'users.datalake.admins' who is the OWNER of the record.

Security
bearer
Headers
data-partition-idstringrequired

This value should be the desired data partition id.

Default:"osdu"
Bodyapplication/json
Array of strings
curl -i -X POST \
  https://as5.api.enterprisedata.slb.com/api/storage/v2/records/delete \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'data-partition-id: osdu' \
  -d '[
    "string"
  ]'

Responses

All records deleted successfully.

Response
No content